package com.chuangsi.project.admin.dto.admin.log;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class LogPageQueryReq  {
    @ApiModelProperty(value = "操作人")
    private String userName;

    @ApiModelProperty(value = "开始时间,时间不能夸月",example = "2020-01-01 08:30:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间,时间不能夸月",example = "2020-01-08 08:30:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
}
